<?php if(is_array($datalist)) { foreach($datalist as $value) { ?>
<li style="width:200px;height:20px;overflow:hidden;">
<a href="<?=$value['url']?>"><?=$value['title']?></a></li>
<?php } } ?>